﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day02
{
    /// <summary>
    /// 普通员工
    /// </summary>
    public class Employee
    {

        public float BasicSalary
        {
            get;
            set;

        }

        public string Name
        {
            get;
            set;
        }

        public string JobName
        {
            get;
            set;
        }

        public virtual float CalculateSalary()
        {
            return BasicSalary;
        }

        //public abstract float Commission();
    }
}